home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.07 Jul 90 / Commando Programming ƒ / Rezscripts / RezC.STR.Cmdo.R < prev    next >
Encoding:
Text File  |  1988-07-03  |  865 b   |  36 lines  |  [TEXT/MPS ]

  1. /* File RezC.STR.Cmdo.R */
  2. /* Rez input for the Rezc.STR Commando interface */
  3. /* W. Powell 1988 */
  4.  
  5. /* Rez definitions for Rez-building Commando interfaces */
  6. #include "Cmdo.R"
  7.  
  8. Resource 'cmdo' (200) {
  9.     { 240,
  10.     "Rezc.STR produces Rez input for a String resource.",
  11.     {
  12. /* This include file has a standard arrangement of items
  13.  *   common to all resources: ID#, attributes, name, 
  14.  *      and redirection of output from the Rezc.≈ script        */
  15. #include "CmdoReztStart.R"
  16.  
  17.     /* Item 6 */
  18.     OR {{1}}, RegularEntry {
  19.         "The string:",
  20.         {80,30,96,120},
  21.         {99,30,115,450},
  22.         "",keepCase,"",
  23.         "Enter the string.\nUse \\ to escape special characters." },
  24.     /* Item 7 */
  25.     AND {{6}}, DoItButton {}, 
  26.     }, 
  27. /* Dialog 2 */
  28. /* Include the standard resource attributes dialog */
  29. #include "CmdoReztAttr.R"
  30.  
  31. /* Dialog 3 */
  32. /* Include a redirection dialog */
  33. #include "CmdoReztRdir.R"
  34.  
  35. }
  36. };